package com.bcbim.authentication.application.mapper;

import com.bcbim.authentication_interface.application.bo.ApplicationBO;
import com.bcbim.authentication_interface.application.vo.ApplicationVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Description: 应用mapper
 * @Author: ye
 * @Date: 2022/4/6
 * @Version: V1.0
 **/
@Mapper
public interface ApplicationMapper {

    /**
     * @Description: 校验key合法性
     * @Param: appKey
     * @Return: ApplicationDAO
     * @Author: ye
     * @Date: 2022/4/6
     * @return
     */
    ApplicationBO checkAppKey(String appKey);

    /**
     * @Description: 查询用户应用信息
     * @Param: userId
     * @Return: ApplicationVO
     * @Author: ye
     * @Date: 2022/7/8
     */
    ApplicationVO getUserApplication(String userId);
}
